import React, { useState } from "react";
import Taro from "@tarojs/taro";
import { View } from "@tarojs/components";
import { VirtualList } from "@nutui/nutui-react-taro";
import "./index.scss";
const marketingRouterList = [
  {
    title: "博主合作页面营销",
    link: "/pages/bloggerCollab/index",
  },
];
function Index() {
  return (
    <View className="layout-warpper">
      {marketingRouterList?.map((item) => {
        return <View onClick={e => {
          Taro.navigateTo({
            url: item?.link,
          });
        }} className="marketing-item">{item?.title}</View>;
      })}
    </View>
  );
}

export default Index;
